import Card from "../card";
import CreateButton from "./create-button";
export default function CreateToDo({
	handleCreate,
}: {
	handleCreate: (val: string) => void;
}) {
	return (
		<Card className="flex items-center justify-between">
			<div className="font-marhey text-2xl mr-10 w-30">ToDo</div>
			<div className="flex items-center flex-1">
				<input className="mr-3 flex-1" />
				<CreateButton onClick={handleCreate} />
			</div>
		</Card>
	);
}
